package com.googlecode.stemwijzer.client;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.googlecode.stemwijzer.shared.model.AnswerQuestionCommand;
import com.googlecode.stemwijzer.shared.model.Questionnaire;

public interface StemwijzerServiceAsync {
	void registerUser(String userName, AsyncCallback<Questionnaire> callback);

	void sendAnswer(AnswerQuestionCommand command, AsyncCallback<Boolean> callback);

	void getQuestionnaire(AsyncCallback<Questionnaire> callback);

	void resetSession(AsyncCallback<Questionnaire> callback);
}
